//
//  DemoLabel.swift
//  DemoUIView
//
//  Created by 白长松 on 16/6/30.
//  Copyright © 2016年 白长松. All rights reserved.
//

import UIKit

class DemoLabel: UILabel {
    
    var name: String

    init(frame: CGRect, name: String) {
        self.name = name
        super.init(frame: frame)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
        setupUI()
    }
    
    func setupUI() -> () {
        print("haha")
    }
}
